SetLayerUIState(String,Nullable<Boolean>) Method
In This Topic
Sets the visibility of an optional content group (layer) in the context of an end-user UI. The is interpreted as follows:
- true: the user explicitly made visible.
- false: the user explicitly made hidden.
- a null reference (Nothing in Visual Basic): the user did not change the visibility of .
Syntax
'Declaration
Public Overloads Sub SetLayerUIState( _
ByVal As System.String, _
ByVal As System.Nullable(Of Boolean) _
)
public void SetLayerUIState(
System.string ,
System.Nullable<bool>
)
Parameters
- layerName
- The name of the target layer.
- state
- The desired state of the layer.
See Also